//
//  LOLusekillTableViewCell.m
//  LOLXXbox
//
//  Created by mac on 16/2/27.
//  Copyright © 2016年 Grasstrio. All rights reserved.
//

#import "LOLusekillTableViewCell.h"
#import "LOLFitCellHeight.h"
#define WIDTH [[UIScreen mainScreen]bounds].size.width
@implementation LOLusekillTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        self.namelabel=[[UILabel alloc]init];
        self.namelabel.font=[UIFont systemFontOfSize:16];
        self.namelabel.textColor=[UIColor colorWithRed:0.254 green:0.822 blue:1.000 alpha:0.750];
        [self.contentView addSubview:self.namelabel];

        
        self.skilllabel=[[UILabel alloc]init];
        self.skilllabel.font=[UIFont systemFontOfSize:14];
        self.skilllabel.numberOfLines=0;
        [self.contentView addSubview:self.skilllabel];

        
        
    }
    
    
    return self;
    
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    self.namelabel.frame=CGRectMake(10, 0, WIDTH-20, 30);
    [LOLFitCellHeight computeLabelCellLabel:self.skilllabel fontSize:14 frame:CGRectMake(5, 40, WIDTH-10, 0)];
    
    
}

@end
